package org.jjj.prod.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.jjj.org.basic.domain.BaseDomain ;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangjianjun
 * @since 2022-10-22
 */
public class ProductType extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String description;
    private String path;
    //父类型
    private ProductType parent;
    //子类型
    private List<ProductType> children;


    public ProductType getParent() {
        return parent;
    }

    public void setParent(ProductType parent) {
        this.parent = parent;
    }

    public List<ProductType> getChildren() {
        return children;
    }

    public void setChildren(List<ProductType> children) {
        this.children = children;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "ProductType{" +
        ", id=" + id +
        ", name=" + name +
        ", description=" + description +
        ", path=" + path +
        "}";
    }
}
